#include "threadPool.h"
int createDir(const char* curPath){
    printf("curPath = %s\n",curPath);
    chdir(curPath); //切换到路径下
    char dirName[20]={0};
    printf("\n请输入文件名:\n");
    scanf("%s",dirName);
    char buf[256]={0};
    int ret = mkdir(dirName,0777);
    if(ret == 0){
        printf("\n目录创建成功！\n");
    }else{
        printf("\n目录创建失败\n");
        return -1;
    }
    return 0;
}